package com.blog.Bard.base.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;

@Data
@Entity
@Table(name="UrlMatching")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class UrlMatching implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4635892870070191778L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(unique=true, nullable=false)
	private Integer id;

	@Column(nullable=false, length=255)
	private String urlCode;

	@Column(nullable=false, length=255)
	private String url;

	@Column(nullable=false, length=255)
	private String urlDesc;

	@Column(nullable=false)
	private Integer urlStatus;

	
}
